package com.itheima.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author Andy
 * @Description //TODO ItcastConfig
 * @Date 2022/3/5 10:48 上午
 * @Version 1.0
 **/
// 对象 封装 把属性放在一起统一管理
@Data
@Component
@ConfigurationProperties(prefix = "beijing")
public class ItcastConfig {
    private String floor;


}
